<%-- 
    Document   : erreurModele
    Created on : 24 mars 2011, 16:42:02
    Author     : Amanda & Rami
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>AGP : Erreur</title>
        <link rel="stylesheet" media="screen" type="text/css" title="Design" href="./css/design_erreur.css" />
     </head>
    <body>
        <div id="page">
            <% Exception e = (Exception)request.getAttribute("e"); %>
            <form action="Controleur" method="POST">
                <jsp:include page="_banniere.jsp"/>
                <div id="erreur_corps">
                    <div id="erreur_corps_titre">Erreur</div>
                    <div id="erreur">
                        <div id="erreur_text">L'exception levée est : 
                        <div id="erreur_champs"><%= e.toString() %></div>
                        <div id="erreur_text">Le message emis est :</div>
                        <div id="erreur_champs"><%= e.getMessage() %></div>
                        <div id="erreur_text">La trace de l'erreur est:</div>
                        <div id="erreur_champs">
                        <% java.io.PrintWriter outstream = new java.io.PrintWriter(out);
                           e.printStackTrace(outstream); %>
                       </div>
                    </div>
                </div>
            </form>
        </div>
    </body>
</html>
